package com.campus.merchant.bean.merchant;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 商户营业状态更新Bean
 */
@Data
@ApiModel("商户营业状态更新参数")
public class MerchantStatusUpdateBean {
    @NotNull
    @ApiModelProperty(value = "商家ID", required = true)
    private Integer id;

    @NotNull
    @ApiModelProperty(value = "营业状态（0-暂停营业，1-营业中）", required = true)
    private Integer status;
}